

package jetbrains.buildServer.server.graphql.model.buildType.incompatibility;

import org.jetbrains.annotations.Nullable;

public class InvalidRunParameterAgentBuildTypeIncompatibility implements AgentBuildTypeIncompatibility {
  @Nullable
  private String myName;
  @Nullable
  private String myReason;

  public InvalidRunParameterAgentBuildTypeIncompatibility() {
  }

  public InvalidRunParameterAgentBuildTypeIncompatibility(@Nullable String name, @Nullable String reason) {
    myName = name;
    myReason = reason;
  }

  @Nullable
  public String getName() {
    return myName;
  }

  public void setName(@Nullable String name) {
    myName = name;
  }

  @Nullable
  public String getReason() {
    return myReason;
  }

  public void setReason(@Nullable String reason) {
    myReason = reason;
  }
}